<?php

namespace services\demo\service;

/**
 * 示例服务
 * @author kevin
 *
 */
class DemoDuang {
	
	public function execute($trace_id, $current_trace_span_id, $request) {
		$request_params = get_status_code('0'); 
		$request_params ["message"] = '';
		if (isset ( $request ["duangid"] )) {
			$request_params ["duangname"] = 'dangdang' . rand(1,100);
		}else{
			$request_params ["duangname"] = 'not found';
		}
		return array('statusCode'=>'0','statusDesc'=>'','data'=>$request_params);
	}
	
}

